package com.dzx.design.structural.decorator.v1;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月01日 15:22:15
 */
public class BattercakeWithEggSausage extends BattercakeWithEgg {

    @Override
    public String getDesc() {
        return super.getDesc() + "加一根香肠";
    }

    @Override
    public int cost() {
        return super.cost() + 2;
    }
}
